package com.zlt.bkparking.dto;


import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ParkingDto {

    @JsonAlias("id")
    private Integer plId;

    @JsonAlias("name")
    private String plName;

    @JsonAlias("address")
    private String plAddress;

    @JsonAlias("photo")
    private String plPhoto;

    @JsonAlias("longitude")
    private BigDecimal plLongitude;

    @JsonAlias("latitude")
    private BigDecimal plLatitude;

    private String plBak1;

    private String plBak2;

    @JsonAlias("total")
    private Integer caTotal;

    @JsonAlias("surplus")
    private Integer caSurplus;

    @JsonAlias("price")
    private BigDecimal caPrice;

}
